import React from 'react'
import { AntDTableInterFace } from './tableInterFace'
import { Table } from 'antd'
const { Column, ColumnGroup } = Table;
const AntDTableUI: React.FC<AntDTableInterFace> = (props: any) => {
  console.log(props)
  return (
    <Table
      dataSource={ props.dataSource }
      columns={ props.columns }
      rowSelection={ props.rowSelection }
      size={ props.tableSize || 'small' }
      rowKey={ props.rowKey }
      bordered scroll={ { y: 200 } } />
  )
}
export default AntDTableUI